package com.wjjun.viewmodel;

import com.wjjun.basemvpvm.viewmodel.BaseViewModel;
import com.wjjun.customview.R;

/**
 * banner
 * Created by 67535 on 2018/4/29.
 */
public class BannerItemViewModel extends BaseViewModel {


    private String pic;

    private Object data;

    private int resId = R.drawable.ic_img_def;


    public BannerItemViewModel() {
    }

    public BannerItemViewModel(String pic) {
        this.pic = pic;
    }


    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    @Override
    public String toString() {
        return pic;
    }
}

